$OpenBSD: patch-libgcc_config_arm_unwind-arm_h,v 1.1 2016/09/09 20:51:03 pascal Exp $
--- libgcc/config/arm/unwind-arm.h.orig	Wed Sep  7 23:53:51 2016
+++ libgcc/config/arm/unwind-arm.h	Wed Sep  7 23:54:06 2016
@@ -49,7 +49,7 @@ extern "C" {
 	return 0;
 
 #if (defined(linux) && !defined(__uClinux__)) || defined(__NetBSD__) \
-    || defined(__FreeBSD__)
+    || defined(__FreeBSD__) || defined(__OpenBSD__)
       /* Pc-relative indirect.  */
 #define _GLIBCXX_OVERRIDE_TTYPE_ENCODING (DW_EH_PE_pcrel | DW_EH_PE_indirect)
       tmp += ptr;
